package com.example.mapexport.realm;

import com.amap.api.services.core.PoiItem;
import com.amap.api.services.core.PoiItemV2;
import com.amap.api.services.poisearch.PoiResultV2;
import com.amap.api.services.poisearch.PoiSearchV2;
import com.google.gson.Gson;

import java.util.ArrayList;
import java.util.List;

import io.realm.RealmList;
import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;

public class PoiSearchResult extends RealmObject {
    @PrimaryKey
    private long id;

    private String city;
    private RealmList<MyPoiItem> result;

    private String query;

    private String searchBound;

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getSearchBound() {
        return searchBound;
    }

    public void setSearchBound(String searchBound) {
        this.searchBound = searchBound;
    }

    public String getQuery() {
        return query;
    }

    public void setQuery(String query) {
        this.query = query;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public RealmList<MyPoiItem> getResult() {
        return result;
    }

    public void setResult(RealmList<MyPoiItem> result) {
        this.result = result;
    }
}
